package conn;
import java.text.*;
import java.util.*;


public class Time {
	private Date time;
	private String strtime;
	private SimpleDateFormat format;
	public Time(){
		strtime=" ";
		format=null;
	}
	public String getYMD(){
		time=new Date();
		format=new SimpleDateFormat("yyyy-MM-dd",Locale.getDefault());
		strtime=format.format(time);
		return strtime;
	}

}
